.PHONY: clean
SrcFiles = $(wildcard *.cpp)
ObjFiles = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
main: $(ObjFiles)
	g++ -o main $(ObjFiles)
	-@rm -f *.o

test: $(SrcFiles) $(wildcard *.h)
	g++ -o test -g $(SrcFiles)

$(ObjFiles): $(wildcard *.h)

GitPush:
	git add .
	git commit -m Vector
	git push origin master

clean:
	-@rm -f *.o
	-@rm -f test
